<!--
	o   Will provide links to display various statistical information for users to see
-->

<?php
include('connect.php');

echo('<br/><div class="h1">User Overview</div><br/>');
$temp = mysql_query("SELECT USRID, USERNAME, NAME, USER_TYPE, BLACKMARK, STATUS,
						REGISTRATION_DATE, EXPIRY_DATE FROM USERS");
$swaps = array(	'USERNAME'	=> '<a href="?page=akmuser&editusrid=INITMARKER">VALUEMARKER</a>',
				'BLACKMARK'	=> 'KEYMARKER VALUEMARKER');
printTable($temp, $swaps);

echo('<br/><div class="h1">Login Statistics</div><br/>');
$result = mysql_query("SELECT USERS.USRID, NAME, LOGIN_DATE, LOGIN_TIME FROM USERS_STATS LEFT JOIN USERS ON USERS_STATS.USRID = USERS.USRID ORDER BY LOGIN_TIME desc");
printTable($result);

include('disconnect.php');

?>

